package com.kuyun.mapper;

import org.apache.ibatis.annotations.Param;

import com.kuyun.entity.Detail;
import com.kuyun.entity.User;

public interface DetailMapper {

	// 查询单个用户信息
	User findOneUser(@Param(value = "id") Integer id) throws Exception;

	// 查询用户详细
	Detail findDetail(@Param(value = "userId") Integer userId) throws Exception;

	// 修改头像
	int queryImg(@Param(value = "id") Integer id, @Param(value = "picPath") String picPath,
			@Param(value = "locPath") String locPath) throws Exception;

}
